package com.sosee.cgfw.activity;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageView;

import com.sosee.cgfw.R;
import com.sosee.cgfw.utils.Utils;
import com.umeng.analytics.MobclickAgent;

/**
 * Created by Thinkpad on 2016/3/31.
 */
public class TestActivity extends Activity {
    ImageView ig;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.test);
        init();
    }

    public void init(){
        ig= (ImageView) findViewById(R.id.ig);
        ig.setImageBitmap(Utils.createQRImage(
                "80&2016-03-31&574&18845423698", 800, 800));
    }

    @Override
    protected void onResume() {
        super.onResume();
        MobclickAgent.onResume(this);
    }

    @Override
    protected void onPause() {
        super.onPause();
        MobclickAgent.onPause(this);
    }
}
